package com.youdianda.mapper;


import com.youdianda.entity.SysConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysConfigMapper {
    /**
     * 获取系统配置
     * @param tabValue
     * @return
     */
    @Select("select * from sys_config where tab_value=#{tabValue}")
    List<SysConfig> getConfig(String tabValue);
}
